<!--学员信息查询-->
<template>
  <div class="wrapper-container">
      <div class="search-container">
        <InputItem
            :name="'姓名'"
            :value="teacherName"
            @input="
            (e) => {
                teacherName = e;
            }
            "
        ></InputItem>
          <InputItem
            :name="'学号'"
            :value="teacherName"
            @input="
            (e) => {
                teacherName = e;
            }
            "
        ></InputItem>
        <div class="search-button color-primary width70 right30">
            <img src="../../../assets/assessment/icon-search.png" alt="" />
            <span>查询</span>
        </div>
    </div>
    <div class="table-container table-css">
      <el-table
        :data="tableData1"
        border
        style="width: 100%"
        class="table-data"
        :header-cell-style="{background:'#edf2f9','border-color': '#c7d7eb'}" 
        >
        <el-table-column prop="system" label="学号" align="center" width="180"></el-table-column>
        <el-table-column prop="researchOffice" label="姓名" align="center"  width="180">
            <template slot-scope="scope">
                <span class="editName">
                    {{scope.row.researchOffice}}<img @click="jumpBasic(row)" src="../../../assets/assessment/icon-plan-record-detail.png">
                </span>
            </template>
        </el-table-column>
        <el-table-column prop="cultivationLevel" label="身份证号" align="center" width="200"> </el-table-column>
        <el-table-column prop="courseName" label="专业" align="center" width="140"></el-table-column>
        <el-table-column prop="courseName" label="班次" align="center" width="100"></el-table-column>
        <el-table-column prop="cultivationLevel" label="性别" align="center" width="100"> </el-table-column>
        <el-table-column prop="courseName" label="政治面貌" align="center"></el-table-column>
        <el-table-column prop="courseName" label="出生日期" align="center"></el-table-column>
        <el-table-column prop="courseName" label="专业" align="center"></el-table-column>
        <el-table-column prop="courseName" label="学籍状态" align="center"></el-table-column>
        
      </el-table>
    </div>
    <div class="export-button">
        <img src="../../../assets/assessment/icon-export.png" alt="" />
        <span>导出Excel</span>
    </div>
    <div class="pagination-block">
      <el-pagination
        prev-text="上一页"
        next-text="下一页"
        :page-size="100"
        layout="prev, pager, next, jumper"
        :total="1000"
      >
      </el-pagination>
    </div>
  </div>
</template>

<script>
import InputItem from "../../../components/InputItem.vue";
export default {
    components: {
        InputItem,
    },
  data() {
    return {
      tableData1: [
        {
          id: "1",
          system: "期中",
          researchOffice: "室一",
          cultivationLevel: "培养层次一",
          practicetype: "选修",
          courseNumber: "212534567",
          courseName: "培养层次一",
        },
        {
          id: "2",
          system: "期中",
          researchOffice: "室二",
          cultivationLevel: "培养层次一",
          practicetype: "选修",
          courseNumber: "212534567",
          courseName: "培养层次一",
        },
      ],
    };
  },
  methods: {
    //取消
    cancel(){
        this.$router.push({
          path:'/student/disciplinaryInfo/punishment/list'
        })
    },
    jumpBasic(){
        //跳转到学员-个人信息-添加信息
        this.$router.push({
        path:'/student/studentStatus/addInfo',
        query:{
            type:'registerList'
        }
        })
    },
  },
};
</script>
<style lang="less" scoped>
.search-container {
  justify-content: flex-start !important;
}
.table-css {
  margin-top: 30px;
  /deep/.el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

 /deep/ .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  /deep/.el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }
}
</style>

<style lang="less" scoped>
@import "../../../styles/commonCss.less";

</style>
